<?php
class Core_View_Helper_BlankLink extends Zend_View_Helper_Abstract{

	public function __construct()
	{
	}

    /**
     * Get social url
     * @param string $uri
     * @return string
     */
	public function blankLink($url, $label, $attribs = array())
	{
		$strAttribs = '';
		foreach ($attribs as $key => $value)
		{
			$strAttribs .= sprintf('%s=%s ', $key, $value);
		}
		return '<a href="' . $url . '" ' . $strAttribs . 'target="_blank">' . $label . '</a>';
	}
}
